import request from '@/utils/request'


// 查询会议提醒列表
export function listManage(query) {
  return request({
    url: '/meetingManagement/list',
    method: 'get',
    params: query
  })
}

// 议题提前开始
export function startEarly(data) {
  return request({
    url: '/topicDiscussion/startEarly',
    method: 'put',
    data: data
  })
}

// 议题延迟开始
export function delayedStart(data) {
  return request({
    url: '/topicDiscussion/delayedStart',
    method: 'put',
    data: data
  })
}

// 结束议题
export function endTopic(data) {
  return request({
    url: '/topicDiscussion/endTopic',
    method: 'post',
    data: data
  })
}

// 提醒议题参与人员
export function remindUser(data) {
  return request({
    url: '/api/meeting/sendNotification',
    method: 'post',
    data: data
  })
}